﻿using System;
using System.Data.Common;
using System.Runtime.Serialization;

namespace RingBufferStream.Utils.Database
{
  [Serializable]
  public class SqlReturnValueException : DbException
  {
    public SqlReturnValueException()
    {
    }

    public SqlReturnValueException(string message)
      : base(message)
    {
    }

    public SqlReturnValueException(string message, int errorCode)
      : base(message, errorCode)
    {
    }

    public SqlReturnValueException(String message, Exception innerException)
      : base(message, innerException)
    {
    }

    protected SqlReturnValueException(SerializationInfo info, StreamingContext context)
      : base(info, context)
    {
    }
  }
}
